import 'package:freezed_annotation/freezed_annotation.dart';

part 'prize_list.freezed.dart';
part 'prize_list.g.dart';

@freezed
class PrizeList with _$PrizeList {
  factory PrizeList({
    String? desc,
    String? image,
    int? needIntegral,
    int? prizeId,
    String? prizeName,
    int? prizeType,
    int? sendNum,
  }) = _PrizeList;

  factory PrizeList.fromJson(Map<String, dynamic> json) =>
      _$PrizeListFromJson(json);
}
